package classfile

type ConstantClassInfo struct {
	cp ConstantPool
	tag        uint8
	name_index uint16
}

func (self *ConstantClassInfo) readInfo(reader *ClassReader) {
	self.tag = 7
	self.name_index = reader.readUint16()
}

func (self *ConstantClassInfo) Name() string {
	return self.cp.getUtf8(self.name_index)
}
